decorative banner

The Debugger Object ($)


    The $ Object (Debugger Object) provides properties and methods you can use to debug your JavaScript code. For example, you can call its methods to set or clear breakpoints programmatically, or to change the language flavor of the script currently executing. It also provides properties that hold information about the version of the host platform's operating system.

    NOTE: The $ object is not a standard JavaScript object.

Properties

    error

    Error

    Retrieve the last runtime error. Reading this property returns an Error object containing information about the last runtime error.

    version

    String

    Returns the version number of the JavaScript engine as a three-part number like e.g. "3.1.11". Read only.

    os

    String

    Outputs the current operating system version. Read only.

Related Subtopics: